changed xt; commented constants; changed import