figured out crux of the problem!