psuedo code for the visitor strings