swift, before work off