Changing Approach, Simpler Code, Same Functionality