rename scan to unshift to better describe what the method is doing