added music and pyramid logic