instead of calling class_attribute 3 times, we can do it in one call