added bucketing for theta and gamma