oop forgot to call ok and err