Initial fully working batch