created the basics for pwd