#16 modified the examples codes for not printing result for some queries