Well, as far as I know this is a recommended way of inserting instance variables into strings. Also I did this change by the recommendation of pftg.