Still not working but a better family of errors