made qtil optional