I also am getting the domain error instead of the codes