A smooth bouncing cosmology with scale invariant spectrum