unsure of where error lies