adding glide / bugfixes