Code for dime and vlade