use hooks 0.6.3