adopted to faz3d needs
adopted to faz3d needs