modularize different exercises