Fixed indentation and added parentheses to method calls