adding logic for fans of inline logic