massaging code