Change print functionality : returning string instead of printing to console