refactored home page feature