added some examples and get-method-names
fixed to-map and fixed some examples