added first layers of minmax :corn: