Todo example from Swift class