front is undefined (needs test) #7