getting an error with this case