change raise syntax