part way to custom microscope type declaration