adding thin ruby code