finished unix port