adjusted to the new file rendering