more work on wifi library