commit with cycle