improvements in home template