Added code for QA homework