working with brian on fit image code