Modifying shield.cpp