altered classes to have this properties