Corrected overlay return value