optimization and new book templates