added aggreg for min