moved around so that errors stopped