add patial function