updated method calls to remove []