first code of sucessful integration 
of swift
added implicits