add basic funtions to start play