added composer compatibility