working on prior after and isample