changed code to type name to support different last screens