have wrap up function for after step call