dt done but we need to call max boundaries too