incorporate glfw for debugging