code snafu fixed