init oop version