a few new methods on array and get midi input to be recognized on the console