updated image and added factorial calc