Naive implementaion