bug fix (<= did not work - weird!), changing order fixed it