routines and rules