added new features and tests
changed version to 1.1