Added missing oncreate method