Completed functionality of compoundMotion app.