Remove function that was made redundant