Building out the helper logic