finished with first two problems