first implement as simple fabric script