up to currying. still some problems in lesson 1 to finish.