This function kept getting simpler and simpler, so yes I can do that now.