simplifying ebook controller