adds debounce funcitonality

Don't think this is what you want. This will cause the recent_posts array to contain n references to the same array in memory. You can just do this in a loop, appending new empty array literals on each iteration.