make deployHelper oop style