Model studies with nicotinamide derivatives