render layout