forgot to comment out an old? function that was causing an exception