removed 'using namespace std'