return early from the function