added logging to hooke