added part of question
merged questions answers