added support for arbitrary sdk versions