utils lib and vsync