add laws and using clause and other templates