added basic player functionality