seconds not milliseconds, still has to be fixed