Whoops, typo on closing the if statement