More work on variables and preperations for computed variables