to check commit