commit bar and graphic function