some r code.  Not full applications.