Replaced unshift with add