implemented expected_utils