public BigDecimal[] getVariables(String client) throws Exception{
		BigDecimal variables[] = new BigDecimal[12];
		
		try{
			String sql = "Select rotVar, rnsdVar, lhRate, lhVar, lhOTVar," +
					"lhNSDVar, lhRDVar, shRate, shVar, shOTVar, shNSDVar," +
					"shRDVar FROM `client` where client.name = '" + client + "';";
			Statement st = con.createStatement();
			ResultSet rs = st.executeQuery(sql);
			if(rs.next()){
				for(int i = 1;i < 13; i++){
					if(rs.getString(i) == null || rs.getString(i) == "null"){
						throw new Exception("No variable\\s");
					}
				}
				for(int i = 1;i < 13; i++){
					variables[i-1] = new BigDecimal(rs.getString(i));
				}
				}
		} catch (Exception ex) {
			throw ex;
		}
		return variables;
	}