New method to commit