still working on overlapping problem