Could you update the comment and describe the primary/secondary layer? also on the function when adding/removing secondary layer depending on the bounds..