add temporary method for tests