changed type's type to String