added a light-weight specialization feature