recloned markus code