change some logix