isFull and isEmpty added