implementatin of story 1 and 2
story 3