changed dimensions and variables