added: inline helpers and nested conditions