removing pointless legacy variable