Added inhertied class - doesn't work