changed times to seconds since 1.1.1970