added better messaging for commit