updated variable names to match library name