updated to swift beta 5