added strict and verbose mode.