adding remaining variables