renamed body.html; restructured code