Return text instead of direct print