Remove function I didn't end up using