commit with param