first two problems