homework 4 - Player