added functionality for playing music