adding debug code to stereochemistry