fixing the class call and adding the license