removed magic numbers and added comments to Zuid