making it compatible for composer