BUGFIX - added private variables in bc routine