added rubymotion code