A part of SQAT homework