prototype collect function