get time out of glib somehow that works