Implementing Rainbow