setup your hooks