removed multiple inheritance problem