#3, added pan feature.