more work on homepage query