Shortened a bit of code