removing unecessary references