taking out unused function