first part of version checker