avoided string value passing directly