Whoops. Should've used dot operator instead of arrow.