hooks need to run inline