Refactored createScreen very nicely