Added merge method
Added key functions

Make it easier to change the key