returning previous var