using glob instead of regex