input vectors were checked for null