An app designed to prevent using distracting phone functionality, including texting, on a mobile phone while driving a vehicle is disclosed. The app first detects a speed at which the phone is travelling. If the speed is above a threshold, typically 5 mph the user is given a challenge that require either that both hands, or both eyes, are required on the phone. If the challenge is not met, the user is assumed to be the driver and the distracting phone functionality, including texting, is disabled. If the challenge is met, the user is assumed to be a passenger and the distracting phone functionality, including texting remains enabled.