preparing for swift