Add preliminary procedures for post process