How to select the proper resistance