preparing code renderer