procedure for adding machines for cartoon