todo changes for microscopy, still a few minor changes to be made but todo is done.