some options code -- not sure how to implement template yet