A declarative virtual world