Readded superfluous function so it works