error still needs work