minor func return change