Inline code to improve perfz