separate time & mem