Added pickle for id and time