Motion to dismiss or for summary judgment in the alternative