Total rewrite sokietech for RWD