pseudocode for search and fix to time multiplier/unix time, now in seconds not ms