add imageprocess
combine the code