Shortened some code