return boolean in addEntity