adding post function run