moving to diplay function
adding helper function for String to display