compiling successfully
added most of the starter code