Hook the exersize visualtiztion up to db