added formatting layer