added a playringtone() funtion