trying to automate