adding entity works