more work on automation stuff