Edit JavaDoc comment, instantiate motorVal and time variables