added better methods for x.