Added target code for testcases