Should be checking valid here.