added stack creation
added show page function