full stack automation (very rough)