adding debug options