linker issue fixed, but time is getting a value then zeroed out afterwards