changed scope of methods to reuse