Eliminated extraneous end