remove uneeded function