Simpler way to get parameters