sample usage migrated to a separate file