pre-newman code
DO NOT USE