attempt at full automation