function to class
composer