Added dispose method