set up a stable environment