removed print and added dispose call