new cache & template classes