partial application for multi-out dsfunctions