made subscriber functions public