then first test and naive implementation