guard statments for image or cbs id