track generator and drawing works