make title/footer optional