added glob method