should not get(1) before you've checked that size()>=2