using gui to commit