added using namespace std to use cout