updated domain of functions