lint and use Q properly