change the string type to more meaningful type