Added melody check