Added listener to commit(forgot)