translated parts of functionality into the new format