adding twotheta to q module