(un)currying, but seems useless