wrote tests 1..8