added getNth, pop etc