forgot to close the function