updated RWD with code examples