add to_s method to record