fixed slight domain error in last commit