removed files and switched pop and shift back