readded the recollectAPI