removing unused function

remove unused function previously added