implemented Composer class