Added returns function as workaround for the return annotation issue in many IDEs
Aesthetic correction.