added val input call for mobile