add some curly brackets on here. it makes things much more readable.