updated paragraph structure and added book type