testing getting rid of temp variables