working version 1 without web integration