working on black body, fix endcontact sensor