limit setting stuff -- probably borked