Fixing screen as function