adde the first two methods