removed old gradient code and old transition code