adding castor mapping