added header-guards around view