finishing commits from class