added options debugging