Adding and removing elements from a specific position