Removed extraneous code, numeric type detection still not working as intended