finalize check presence,not yet tested, please test on real device