add IMAGE activity
fix function calls
tweak naming conventions