adds proper curly c