added sensing and lamp