* eq needs to check type