added puppet hook