~~ use InlineStrategy instead of InlineStatus
~~ better getLabelPrefix
~~ moved util functions
~~ added comment