playPaths function

Change-Id: I4fc1e843d8c00d86ed80c8db52f803edc144721d