getting working read
working but with one extra at end
cleanup a little