added jquery functions