changes to work horizontally