work on version check