Added variable MAX_OBSN