minor / remove unnecessary function