added class_attribute without activesupport