added all functions before play() to header