plugged_in function
Merge pull request #1776 from ronshapiro/master

plugged_in function