added preferences template