handle more version declarations