Add Z notation to Q5 and remove line from Z