added rendering/erb layout processing