working on Line of Sight detection