more code for long list