before logic: