added jquery function