refactored commit