Added function for getting home direction