forgot to remove unused function