Added insertFront and insertBack