smartened the hook