removed diagnostic statements