updated with the new platform example