added one method to automate