don't know why but using object causes instantiation error. Used to have success in eclipse though. Not a big deal, so I just switched to using class instead.