you had to do some work and
You had to do an amount of work.