You don't need to repeat these 4 lines everytime if all forks end with it, just put it at the end and remove the returns.