port to rubymotion