I don't think goto is needed in this short function.