made the entities a declare rather than a let