cross motions for summary judgment