Shortened two functions