more work on week5 and introduce GA code