database cut to 5 records