added console.log and esle if to miltple results