add tests
working on bit
amend