removed testing headers and variable declarations