add limits on entities