added helper for tests