note issue with redundancy of spawn