Remove function as I am not using it and I could rewrite it better anyway