Added input and output formats