Improved the name of the logic function.