remove inline modifier for method