refining following boilerplates