added a naive implementation and some failing tests