the return param should be `:bool` instead of `:uint`