separating secondary and primary but layer
works but some gaps
gap fixed