added comments
added custom error page