remove now unused function