Removed testing moment function