basic exercise plugin functionality