added bell curve logic