mod apllying implemented