Inline method (thanks AppCode)