adding options, starting diagnostic