removed bad solution. renamed variables