first release of heap and queue