started adding nested purchases