got rid of std::, started using namespace std