Nitpicky, but there should be a space before the closing parenthesis on both lines 505 and 507.