add Triplett window function