trying to fix the logix