updated variable names to be more consistent, added ie default var