inline method that is only used once