v1.2 added msg grace period