doctring + tests 0-5. 7-9