Refactor re-chasing into own function