added some more bindings and grid helper function