z21: ToDo added for gate value