unused references removed