updated type to string