added some queue and inheritance problems