Edit JavaDoc comment, instantiate motorVal and time variable