removed unessary end of input