begining melody characteristics implementation