Changed z position to enum