write to prpt