adding tupled to partial functions