add version and library check