additions/bug fixes for lesion work