porting to unix