removed now unused code