- implemented dispose()-method