check commit works