extracted mobileInput to view