version check for PiM at init()

Antti, I try to commit by myself, but don't know if I can do successful.