Modelsward implementation