commit private method