added multiple application check