added pulldown function