add func for mobile