constructor and moment