completed code to add fake record if needed