dealing with peyotl returning 2 values from return_study