extracted attributes from character to separate class