removing redundant function

@shpiNi, please remove the case as well.