bug fix -- wouldnt compile