I took my classes seriously and worked hard.
I took my classes seriously when I attended them.
He suggested that the recommendation be worded in such a manner that this effort does not seem to be a parallel activity.