added 'collector' with basic functionality