basic structure of IMS