Refactored logic code