automate beggining