added options to check multiple row