reverting the changes for toString()