moving to swift main and processInfo
main now working in swift