swp and tmp