updated to string method