added tail removal
added add to last position