add test code
write IsEmpty method