allowed receiver to have functions with 1 arguments too, updated the examples and put in assertions
added new example