wrote PQueue... Almost