added configuration options, and animation