added possibility to specify formatters