first version of 2q was implemented and tested