trimming down unnecesary references