adds exercise detail functionality