updated to moment