makes the moments work