Fixed up contacts formula