changed security model. Added variable languages