removing unused check