you're right, that's way cleaner than having a helper function