wanna find out why gettimeofday makes things shaky