added partial and logic to the home index