version
moved prepare to main file