added footer attribution, fixed undefined variable