added find function to collection