made additions to sense portion