remove static modifier for method