Moved recommanded release logic into own function