following a tutorial while making this game