make text as a parameter