minor styling changes + renamed t to thisObject