you could return immediately here rather than using a local variable