removed redundant play code