tweaking weight logic