M3 implement and test plan
test code