ret vs stat