will be useful for gate