option matrix code added