Removed str() methods and used format() instead