removes small unnecessary function