added new function to home