cleans up unused code