added sim
some headers