implement uncompress method
better variable names
fix transient analysis bug