Comment code logic