Removed chord from optimization, store keys in __init__ not constructed every time
more playing with things