Structuring loans for S corp. shareholder basis planning opportunities