Could it be because WriteAndDisplay doesn't return anything?