simplified writing of markers