made vars stuff work