currying debug