Factors to consider in a claim for breach of contract