Remove duplicate home function