added ajax partly