Added modsetvana function