added function to find previous active play