Figured out what the last line do. It is for alternating row colors.

Still need an answer to my first question though.

Thanks