fix ty
pos and add more comments