implement the function for when user pushes start button