added moment class