initial commit answering all the five questions