helper for corona sdk