initial. still need to add behavior for iterating through pwfile