remove inline method