almost finished
before test