Initial commit with naive implementation