Added initial collect code