added boilerplate template for g and r