added swi calls still good