changed the function to the husky way