get variables the right way round