make sure to normalize  to always be a function