adding partial with arguments functionality