role and functionality bugs all fixed!!!!!!!!!!