adding deleting by timestamp