removed unused code
updates due to the new SDK version 0.7.0