Added mod functionability