added moving sensor