added description to data subroutine about using ctx to store data