fixed typo.
added example{1,2}.
changed get methods behaviour and tests.