define dataset according to environment