added midi gen