implemented a package class, made soft varibles