tweak layout, get keys