Shorten the code