split base and extended class