added basic elements for agent and layers