update inverse logic and spacing