now passing size as an argument to screen creation