Create textbooks

Added logical statement