added str and float types
added tests