A helper function is a good idea here too.