made output dictionary style