commit from lib directly