added vnc methods definition