added temp and frame