deleted some pointless code #shouldneverbereached