toString moved to the end of the class