shorthand function to string conversion