testing hooks done