removing unnecessary check