updated to support main homepage