Fixes #1
Fixed methods, added example for them too