finished automation of .pl