A first raw implementation