doing homework ahead of time