using circus with hooks support.