include guards; return in error; fixed indentation