updated utils to reflect changes in rust