Block: contains function for the z direction