Source lib in rotate

Source lib in rotate