added mode to public conn