removed std::
removed all ==0 in conditions