before creating list