ret is not used, why define it?