started work on motion detector