added variable for emptyStore