removed development code, changed variable name