still struggling with rust's ownship stuff