used in testing