fix: whoops... helper function went missing