testing for topology code