added get_OBS function