added quickcommit func