changing onInit name in Demo