initial working wrapper
minor changes
enhanced animate