changed calculation o wifi spot. not implemented yet