name logic