Rewrote teacher queries in multiline style