some notes about currying