First version of watcher with static parsing