commented function in general functions, currrently it's redundant