dopetrop initial code