ignore swp and out
added beginning of code