added full jquery functions