add retrace method