deleted old RHS code
turning off debugs