added attributes to powers class