@deeky666 if this code is copied from another place, please fix it in both locations