adding exclusive maximum functionality