Changed dp to 5