added version compilation