Added visited field