better, but still error occurring