made the vector parameters restricted