Reduce the code, so it's more readable