added methods for name classes