added string functionality