Add sample query instructions. Add exception handling.