(dev) added collect method