glob with hooks