implemented random triad inserts