started adding support for proximity sensor